import {Product} from "../entity/product";
/**
 * Created by Administrator on 16-8-3.
 */export class ProductService{
    getAll():Product[]{
        let productList = [
            {"name":"Camera0","price":221.0,"path":"./app/themes/images/products/1.jpg"},
            {"name":"Camera1","price":222.0,"path":"./app/themes/images/products/2.jpg"},
            {"name":"Camera2","price":223.0,"path":"./app/themes/images/products/3.jpg"},
            {"name":"Camera3","price":224.0,"path":"./app/themes/images/products/4.jpg"},
            {"name":"Camera4","price":225.0,"path":"./app/themes/images/products/5.jpg"},
            {"name":"Camera5","price":226.0,"path":"./app/themes/images/products/11.jpg"},
        ]
        return productList;
    }
}